<?php
defined('_JEXEC') or die;
?>
<div class="mypreview">
    <?php foreach ($this->items as $item) : ?>
        
        <div class="content-box">
            <a href="index.php?option=com_tour&view=tourdetail&Itemid=110&id=<?php echo $item->id;?>">
            <img src="<?php echo $item->tourimage; ?>" alt="<?php echo $item->title;?>" title="<?php echo $item->title;?>" />
            <div class="desc">
                <?php echo $item->title;?>
            </div>
            </a>
        </div> 

    <?php endforeach; ?>
</div>